home *** CD-ROM | disk | FTP | other *** search
/ Internet.Works 41 / Issue 41.iso / pc / PCSoftware / Rational Software Siteload / SiteLoad.exe / data1.cab / Apache / jserv-1.1 / servlets / zone.properties < prev   
Encoding:
Text File  |  2000-10-23  |  5.8 KB  |  154 lines

  1. ###############################################################################
  2. #                        Servlet Zone Configuration File                      #
  3. ###############################################################################
  4.  
  5. ################################ W A R N I N G ################################
  6. #
  7. # Unlike normal Java properties, JServ configurations have some important 
  8. # extentions:
  9. #
  10. #    1) commas are used as token separators
  11. #    2) multiple definitions of the same key are concatenated in a 
  12. #       comma-separated list.
  13. #
  14. ###############################################################################
  15.  
  16. # List of Repositories
  17. #######################
  18.  
  19. # The list of servlet repositories controlled by this servlet zone
  20. # Syntax: repositories=[repository],[repository]...
  21. # Default: NONE
  22. # Note: The classes you want to be reloaded upon modification should be put
  23. #       here.
  24.  
  25. repositories=d:\Program Files\Rational\BlackWidow\Apache\JServ 1.1\servlets
  26.  
  27. # Classloader parameters
  28. #########################
  29.  
  30. # Enable servlet class autoreloading.
  31. # Syntax: autoreload.classes=[true,false] (boolean)
  32. # Default: true
  33. autoreload.classes=true
  34.  
  35. # Enable servlet resourced autoreloading (properties and other loaded resources)
  36. # Syntax: autoreload.file=[true,false] (boolean)
  37. # Default: true
  38. autoreload.file=true
  39.  
  40. # Set the number of millisecond to wait before giving up on initializing a servlet.
  41. # (a timeout of zero means no timeout)
  42. # Syntax: init.timeout=(long)>0
  43. # Default: 10000 (10 secs)
  44. init.timeout=10000
  45.  
  46. # Set the number of millisecond to wait before giving up on destroying a servlet.
  47. # (a timeout of zero means no timeout)
  48. # Syntax: destroy.timeout=(long)>0
  49. # Default: 10000 (10 secs)
  50. destroy.timeout=10000
  51.  
  52. # Set whether or not to use cookies to maintain session state.
  53. # If false, then response.encodeUrl() will always be the method
  54. # to maintain session state. If true, then the servlet engine will
  55. # attempt to set a cookie when request.getSession(true) is called.
  56. # Syntax: session.useCookies=[true,false] (boolean)
  57. # Default: true
  58. session.useCookies=true
  59.  
  60. # Set the number of millisecond to wait before invalidating an unused session.
  61. # Syntax: session.timeout=(long)>0
  62. # Default: 1800000 (30 mins)
  63. session.timeout=1800000
  64.  
  65. # Set how frequently (milliseconds) to check for timed-out sessions.
  66. # Syntax: session.checkFrequency=(long)>0
  67. # Default: 30000 (30 secs)
  68. session.checkFrequency=30000
  69.  
  70. # SingleThreadModel Servlets parameters
  71. ########################################
  72.  
  73. # Set the initial capacity of the STM servlets pool.
  74. # Syntax: singleThreadModelServlet.initialCapacity=(int)>1
  75. # Default: 5
  76. singleThreadModelServlet.initialCapacity=5
  77.  
  78. # Set the number of servlet instances should be added to the pool if found empty.
  79. # Syntax: singleThreadModelServlet.incrementCapacity=(int)>1
  80. # Default: 5
  81. singleThreadModelServlet.incrementCapacity=5
  82.  
  83. # Set the maximum capacity of the STM pool
  84. # Syntax: singleThreadModelServlet.maximumCapacity=(int)>1
  85. # Default: 10
  86. singleThreadModelServlet.maximumCapacity=10
  87.  
  88. ################### S E R V L E T    P A R A M E T E R S ######################
  89.  
  90. ################################## N O T E ####################################
  91. # When "classname" is specified, it means a Java dot-formatter full class name
  92. # without the ".class". For example, a class with source file named 
  93. # "Dummy.java" with a package name "org.fool" is defined as "org.fool.Dummy".
  94. #
  95. # Since each servlet may have lots of private initialization data, Apache JServ
  96. # allows you to store those servlet initArgs in a separate file. To do this,
  97. # simply do not set any initArgs in this file: Apache JServ will then look for
  98. # a file named "[servlet classname].initargs" in the same directory of that 
  99. # class. Note that this may work with even class archives.
  100. ###############################################################################
  101.  
  102. # Startup Servlets
  103. ###################
  104.  
  105. # Comma or space delimited list of servlets to launch on startup.
  106. # This can either be a class name or alias.
  107. # Syntax: servlets.startup=[classname or alias],[classname or alias],...
  108. # Default: NONE
  109. # servlets.startup=hello,snoop,org.fool.Dummy
  110.  
  111. # Servlet Aliases
  112. ##################
  113.  
  114. # This defines aliases from which servlets can be invoked.
  115. # Each alias give a new instance of the servlet. This means that if a servlet 
  116. # is invoked both by class name and by alias name, it will result in _TWO_ 
  117. # instances of the servlet being created.
  118. # Syntax: servlet.[alias].code=[classname] (String)
  119. # Default: NONE
  120. # servlet.snoop.code=SnoopServlet
  121. # servlet.hello.code=org.fool.Dummy
  122.  
  123. # Global Init Parameters
  124. #########################
  125.  
  126. # Parameters passed here are given to each of servlets. You should put 
  127. # configuration information that is common to all servlets.
  128. #
  129. # The value of the property is a comma delimited list of "name=value" pairs 
  130. # that are accessible to the servlet via the method getInitParameter() 
  131. # in ServletConfig.
  132. # Syntax: servlets.default.initArgs=[name]=[value],[name]=[value],...
  133. # Default: NONE
  134. # servlets.default.initArgs=common.to.everybody=Hi everybody!
  135.  
  136. # Servlet Init Parameters
  137. ##########################
  138.  
  139. # These properties define init parameters for each servlet that is invoked 
  140. # by its classname.
  141. # Syntax: servlet.[classname].initArgs=[name]=[value],[name]=[value],...
  142. # Default: NONE
  143. # servlet.org.fool.Dummy.initArgs=message=I'm a dummy servlet
  144.  
  145. # Aliased Servlet Init Parameters
  146. ##################################
  147.  
  148. # These properties define init parameters for each servlet that is invoked 
  149. # by its alias.
  150. # Syntax: servlet.[alias].initArgs=[name]=[value],[name]=[value],...
  151. # Default: NONE
  152. # servlet.snoop.initArgs=message=I'm a snoop servlet
  153. # servlet.hello.initArgs=message=I say hello world to everyone
  154.